package entity

type Video struct {
	Id         int
	Key        string
	Hash       string
	Type       string
	Title      string `gorm:"title"`
	Cover      string
	Url        string `gorm:"-"`
	IsCollet   bool   `gorm:"-"`
	IsLove     bool   `gorm:"-"`
	CollectNum string `gorm:"-"`
	LoveNum    string `gorm:"-"`
	ShareNum   string `gorm:"-"`
	Uid        int
}

func (Video) TableName() string {
	return "video"
}
